@extends('d.layout.index')
@section('con')
	<div class="mws-panel grid_8">
    	<div class="mws-panel-header">
        	<span><i class="icon-table"></i>右侧导航栏浏览</span>
        </div>
        <div class="mws-panel-body no-padding">
            <table class="mws-table">
                <thead>
                    <tr>
                        <th>ID</th>
                        <th>导航栏名称</th>
                        <th>链接地址</th>
                        <th>操作</th>
                    </tr>
                </thead>
                <tbody>
                @foreach($list as $k=>$v)
                @if($k % 2 == 0)
                    <tr align="center" class="even">
                @else
                    <tr align="center" class="odd">
                @endif
                        <td>{{$v['id']}}</td>
                        <td>{{$v['name']}}</td>
                        <td>{{$v['url']}}</td>
                        <td>
                        	<a href="/admin/rightNav/delete/{{$v['id']}}" class="icon-trash" style="font-size:23px"></a>
                        	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        	<a href="/admin/rightNav/edit/{{$v['id']}}" class="icon-tools" style="font-size:20px"></a>
                        </td>
                    </tr>
                @endforeach
                </tbody>
            </table>
        </div>
    </div>
@endsection